package com.huicai.poi.service;

import com.huicai.poi.entity.Product;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;
import java.util.Map;

/**
 * @author: MR.LIU
 * @description:
 * @date: 2020/6/7
 * @time: 16:41
 */
public interface PoiService {
    /**
     * 处理文件
     * @param realPath
     * @param file
     * @param year
     * @return
     */
    Map<String, Object> importExcelData(String realPath,MultipartFile file,String year);

    List<Product> searchProducts();
}
